package com.f5.management.service;

import com.f5.management.entity.Parking;
import com.f5.management.entity.ParkingManagement;

import java.util.List;


public interface ParkingManagementService {
    List<ParkingManagement> list();

    ParkingManagement get(int id);

    void insert(ParkingManagement parkingManagement);

    void update(ParkingManagement parkingManagement);

    void delete(int id);

    Long count();

    void sell(ParkingManagement parkingManagement);

    List<Parking> freeParkingInCommunity(String communityName);

    List<String> getParkingNumber(String communityName);

    List<ParkingManagement> findByPage(Integer start, Integer rows);
}
